db.workmate.find({"skill.skillOne":"HTML+CSS"},
	{"name":true,"skill.skillOne":true,"_id":false});

//公司内年龄小于30大于25岁的人员
/*db.workmate.find(
    {"age":{"$lte":30,"$gte":25}},
    {"name":true,"age":true,"skill.skillOne":true,"_id":false}
)*/

//日期查找
/*var startDate = new Date('01/01/2018');
db.workmate.find(
	{"regeditTime":{"$gt":startDate}},
	{"name":true, "age":true, "skill.skillOne":true, "_id":false}
)*/

/*db.workmate.find({"age":{"$in":[25,33]}},
    {"name":1,"skill.skillOne":1,"age":1,"_id":0}
)*/

/*db.workmate.find(
	{"$or":[
			{"age":{"$gte":30}},
			{"skill.skillThree":"PHP"}
		]
	},
	{
		"name":1, "skill.skillThree":1,"age":1,"_id":0
	}
)*/


/*db.workmate.find(
	{"$and":[
			{"age":{"$gte":30}},
			{"skill.skillThree":"PHP"}
		]
	},
	{
		"name":1, "skill.skillThree":1,"age":1,"_id":0
	}
)*/

/* db.workmate.find({
	"age": {
		"$not": {
			"$lte": 30,
			"$gte": 20
		}
	}
}, {
	"name": 1,
	"skill.skillThree": 1,
	"age": 1,
	"_id": 0
}) */